package com.kakavr.result.constant;

public class MsgConstants {
	// 平台消息码，除“成功”和“失败”统一用4位数字表示，以区别第三方平台的消息码
	public static final int MSG_CODE_ERROR = 0;
	public static final String MSG_CONTENT_ERROR = "失败";// 统一的失败

	public static final int MSG_CODE_SUCCESS = 1;
	public static final String MSG_CONTENT_SUCCESS = "成功";// 统一的成功

	public static final int MSG_CODE_EXCEPTION = 9999;
	public static final String MSG_CONTENT_EXCEPTION = "网络忙碌，稍后重试";
	public static final int MSG_CODE_SOURCE = 9998;
	public static final String MSG_SOURCE_ILLEGAL = "请求来源非法";

	// 通用
	public static final int MSG_CODE_1001 = 1001;
	public static final String MSG_CONTENT_1001 = "{0}不能为空";
	public static final int MSG_CODE_1002 = 1002;
	public static final String MSG_CONTENT_1002 = "{0}不正确";
	public static final int MSG_CODE_1003 = 1003;
	public static final String MSG_CONTENT_1003 = "{0}已存在";

	// 登录、个人信息
	/**
	 * 2001-2999
	 */
	public static final int MSG_CODE_2001 = 2001;
	public static final String MSG_CONTENT_2001 = "请登录";
	public static final int MSG_CODE_2002 = 2002;
	public static final String MSG_CONTENT_2002 = "该账号已被禁用";
	public static final int MSG_CODE_2003 = 2003;
	public static final String MSG_CONTENT_2003 = "原密码和新密码不能相同";
	public static final int MSG_CODE_2004 = 2004;
	public static final String MSG_CONTENT_2004 = "{0}应为6到16位字符组成";
	public static final int MSG_CODE_2005 = 2005;
	public static final String MSG_CONTENT_2005 = "只有店主才能进行此操作";
	public static final int MSG_CODE_2006 = 2006;
	public static final String MSG_CONTENT_2006 = "该店铺被禁用";
	public static final int MSG_CODE_2007 = 2007;
	public static final String MSG_CONTENT_2007 = "使用微信授权登录才能使用此功能";
	public static final int MSG_CODE_2008 = 2008;
	public static final String MSG_CONTENT_2008 = "该用户已存在";
	// 充值
	/**
	 * 3001-3999
	 */
	public static final int MSG_CODE_3001 = 3001;
	public static final String MSG_CONTENT_3001 = "还有{0}次数未消费，请消费完再充值";
	/**
	 * 消费
	 * 4001-4999
	 */
	public static final int MSG_CODE_4001 = 4001;
	public static final String MSG_CONTENT_4001 = "您没有可消费的次数";
	public static final int MSG_CODE_4002 = 4002;
	public static final String MSG_CONTENT_4002 = "未查询到用户信息";
	public static final int MSG_CODE_4003 = 4003;
	public static final String MSG_CONTENT_4003 = "未查询到加盟店信息";
	/**
	 * 分账
	 * 5001-5999
	 */
	public static final int MSG_CODE_5001 = 5001;
	public static final String MSG_CONTENT_5001 = "用户未审核或者审核有误，不能分账";
	public static final int MSG_CODE_5002 = 5002;
	public static final String MSG_CONTENT_5002 = "不能重复分账";
	
	

}
